xen: arm: X-Gene Storm check GIC DIST address for EOI quirk
authorPranavkumar Sawargaonkar <pranavkumar@linaro.org>
Wed, 29 Apr 2015 09:38:27 +0000 (15:08 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 5 May 2015 11:43:23 +0000 (12:43 +0100)
commit50dcb3de603927db2fd87ba09e29c817415aaa44
tree1ad7919c5ad69ec848870e1e2bb50935ae0aa226
parent60edd71276caee77b1d6046df53854d24e01f43b
xen: arm: X-Gene Storm check GIC DIST address for EOI quirk

In old X-Gene Storm firmware and DT, secure mode addresses have been
mentioned in GICv2 node. In this case maintenance interrupt is used
instead of EOI HW method.

This patch checks the GIC Distributor Base Address to enable EOI quirk
for old firmware.

Ref:
http://lists.xen.org/archives/html/xen-devel/2014-07/msg01263.html

Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Tested-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/platforms/xgene-storm.c